import request from '#/utils/requestAbort.js';

export function getDictionaryStatus() {
  return request('/reanalyze/forecastDataAdjustReanalyze/dictionaryStatus', {
    method: 'GET',
  });
}

export function flexibleAggregation(data: any) {
  return request('/generation-common/flexible-aggregation/flexibleAggregation', {
    method: 'POST',
    data,
  });
}

export function getDynamicColumns(data: any) {
  return request('/reanalyze/generalDynamicColumns/getDynamicColumns', {
    method: 'POST',
    data,
  });
}

export function listAlgorithm() {
  return request('/reanalyze/aiStrategy/listAlgorithm', {
    method: 'POST',
  });
}

export function reanalyzeDataAlgorithmSum(data: any) {
  return request('/reanalyze/aiStrategy/reanalyzeDataAlgorithmSum', {
    method: 'POST',
    data,
  });
}
